import Vue from 'vue'
import Vuex from 'vuex'
import Cinema from './module/cinemaModule'
import City from './module/cityModule'
import createPersistedState from 'vuex-persistedstate'
Vue.use(Vuex)

export default new Vuex.Store({
    plugins: [createPersistedState()],
    modules: {
        Cinema,
        City
    }
})